const rules = {
  name: [
    { required: true, message: '请输入直播间标题', trigger: 'blur' },
    { validator: validName, trigger: 'change' },
  ],
  time: [{ required: true, message: '请选择直播时间', trigger: 'blur' }],
  anchorName: [
    { required: true, message: '请输入主播昵称', trigger: 'blur' },
    { validator: validWcName, trigger: 'blur' },
  ],
  anchorWechat: [
    { required: true, message: '请选择直播微信账号', trigger: 'blur' },
  ],
}

export { rules }
